﻿@model MvcApplication2.Models.Sanpham

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>Sanpham</legend>

    <div class="display-label">Loaisanpham</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Loaisanpham.Tenloaisp)
    </div>

    <div class="display-label">Nhacungcap</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Nhacungcap.Tenhancungcap)
    </div>

    <div class="display-label">Tensanpham</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Tensanpham)
    </div>

    <div class="display-label">Gianhap</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Gianhap)
    </div>

    <div class="display-label">Giaban</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Giaban)
    </div>

    <div class="display-label">Anhminhhoa</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Anhminhhoa)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.SanphamID }) |
    @Html.ActionLink("Back to List", "Index")
</p>
